﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;

namespace _7___Capitalizing
{
    static class StringExtension
    {

        public static string CapitalizeWords(this string myString)
        {
            TextInfo myTI = new CultureInfo("en-US", false).TextInfo;
            return myTI.ToTitleCase(myString);
        }
    }
}
